<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小米官网</title>
    <link rel="stylesheet" href="/css/reset.css"> <!-- 清除浏览器默认样式 -->
    <link rel="stylesheet" href="/fonts/fontawesome-free-6.4.0-web/css/all.css"> <!-- css图标库 -->
    <link rel="stylesheet" href="/css/public.css">
    <link rel="stylesheet" href="/helloworld_html5/page/mi/css/index.css">
    <link rel="icon" href="./favicon.ico">
    <script type="text/javaScript" src="../mi/js/index.js"></script>
</head>

<body>
    <!-- 顶部导航条、外部容器 -->
    <div class="topbar-wrapper">
        <div class="topbar w clearfix"> <!-- 创建容器 -->
            <ul class="service">
                <li><a href="javascript:;">小米商城</a></li>
                <li class="line">|</li>
                <li><a href="javascript:;">MIUI</a></li>
                <li class="line">|</li>
                <li><a href="javascript:;">loT</a></li>
                <li class="line">|</li>
                <li><a href="javascript:;">云服务</a></li>
                <li class="line">|</li>
                <li><a href="javascript:;">金融</a></li>
                <li class="line">|</li>
                <li><a href="javascript:;">有品</a></li>
                <li class="line">|</li>
                <li><a href="javascript:;">小爱开发平台</a></li>
                <li class="line">|</li>
                <li><a href="javascript:;">企业团购</a></li>
                <li class="line">|</li>
                <li><a href="javascript:;">资质证照</a></li>
                <li class="line">|</li>
                <li><a href="javascript:;">协议规则</a></li>
                <li class="line">|</li>
                <li>
                    <a class="appDownload" href="javascript:;">下载app
                        <div class="qrcode"><!-- 下载弹框 -->
                            <img src="/helloworld_html5/page/mi/imgs/download.png" alt="下载二维码" />
                            <span>小米商城app</span>
                        </div>
                    </a>
                </li>
                <li class="line">|</li>
                <li><a href="javascript:;">Select Location</a></li>
            </ul>

            <ul class="shop-cart">
                <li>
                    <a href="javascript:;">
                        <i class="fas fa-shopping-cart"></i>
                        购物车(0)
                    </a>
                </li>
            </ul>

            <ul class="user-info">
                <li><a href="javascript:;">登录</a></li>
                <li class="line">|</li>
                <li><a href="javascript:;">注册</a></li>
                <li class="line">|</li>
                <li><a href="javascript:;">消息通知</a></li>
            </ul>

        </div>
    </div>

    <div class="header-wrapper"> <!-- 创建一个头部的外部容器 -->
        <div class="header w clearfix"> <!-- 创建内容区 -->
            <h1 class="logo" title="小米"><!-- 创建一个logo -->
                <span>小米官网</span>
                <a class="home" href="#"></a>
                <a class="mi" href="#"></a>
            </h1>

            <div class="nav-wrapper"> <!-- 创建一个中间导航条的容器 -->
                <ul class="nav clearfix">
                    <li class="all-goods-wrapper"><a class="add-goods" href="#">全部商品分类</a>

                        <!-- 全部商品导航 -->
                        <ul class="left-menu">
                            <li>
                                <a href="#">
                                    手机电话卡<i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    电视盒子<i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    笔记本平板<i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    家电插线板<i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    出行穿戴<i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    智能路由器<i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    电源配件<i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    健康儿童<i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    耳机音箱<i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    生活箱包<i class="fas fa-angle-right"></i>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="show-goods"><a href="#">小米手机</a></li>
                    <li class="show-goods"><a href="#">Redmi 红米</a></li>
                    <li class="show-goods"><a href="#">电视</a></li>
                    <li class="show-goods"><a href="#">笔记本</a></li>
                    <li class="show-goods"><a href="#">家电</a></li>
                    <li class="show-goods"><a href="#">路由器</a></li>
                    <li class="show-goods"><a href="#">智能硬件</a></li>
                    <li><a href="#">服务</a></li>
                    <li><a href="#">社区</a></li>
                    <div class="goods-info"></div>
                </ul>

            </div>

            <div class="search-wrapper"> <!-- 搜索框 -->
                <form action="search">
                    <input class="search-inp" type="text">
                    <button class="search-bth" type="button">
                        <i class="fas fa-search"></i>
                    </button>
                </form>
            </div>
        </div>

    </div>

    <div class="banner-wrapper">
        <div class="banner w">
            <ul class="img-list">
                <li><a href="#"><img src="/helloworld_html5/page/mi/imgs/banner1.jpg" alt=""></a></li>
                <li><a href="#"><img src="/helloworld_html5/page/mi/imgs/banner2.jpg" alt=""></a></li>
                <li><a href="#"><img src="/helloworld_html5/page/mi/imgs/banner3.webp" alt=""></a></li>
                <li><a href="#"><img src="/helloworld_html5/page/mi/imgs/banner4.jpg" alt=""></a></li>
            </ul>

            <!-- 轮播图、4个小点 -->
            <div class="pointer">
                <a class="active" href="javascript:;"></a>
                <a href="javascript:;"></a>
                <a href="javascript:;"></a>
                <a href="javascript:;"></a>
            </div>

            <!-- 左右箭头轮播 -->
            <div class="prev-next">
                <a class="swiper-button-prev" href="javascript:;"></a>
                <a class="swiper-button-next" href="javascript:;"></a>
            </div>
        </div>
    </div>

    <!-- 固定定位的工具条 -->
    <div class="back-top"></div>

    <!-- 创建公告容器 -->
    <div class="ad w">

        <ul class="shortcut">
            <li>
                <a href="#">
                    <i class="fas fa-clock"></i>
                    小米秒杀
                </a>
            </li>
            <li>
                <a href="#">
                    <i class="fas fa-building"></i>
                    企业团购
                </a>
            </li>
            <li>
                <a href="#">
                    <i class="fas fa-frog"></i>
                    F码通道
                </a>
            </li>
            <li>
                <a href="#">
                    <i class="fas fa-robot"></i>
                    米粉卡
                </a>
            </li>
            <li>
                <a href="#">
                    <i class="fas fa-keyboard"></i>
                    以旧换新
                </a>
            </li>
            <li>
                <a href="#">
                    <i class="fas fa-sim-card"></i>
                    花费充值
                </a>
            </li>
        </ul>

        <ul class="ad-img">
            <li><a href="#"><img src="./imgs/ad-img1.jpg" alt=""></a></li>
            <li><a href="#"><img src="./imgs/ad-img2.jpg" alt=""></a></li>
            <li><a href="#"><img src="./imgs/ad-img3.jpg" alt=""></a></li>
        </ul>

    </div>
</body>

</html>